<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		#include("common/header.html")
		<link type="text/css" rel="stylesheet" href="/css/yejijilu.css" />
		<title></title>
	</head>
	<body>
		<header style="background: #005aab;" class="mui-bar mui-bar-nav head">
			<!--<span class="mui-icon mui-icon-back"></span>-->
			<h1 style="color: #FFFFFF; letter-spacing: 4px;" class="mui-title">业绩记录</h1>
			<!--<span class="mui-icon mui-icon-more"></span>-->
		</header>
		<nav style="background: #cccccc;" id="bottomx" class="mui-bar mui-bar-tab">
			<a class="mui-tab-item" href="/business/">
				<span class="mui-icon iconfont icon-qiyedengji-copy"></span><br>
				<span class="mui-tab-label">业绩登记</span>
			</a>
			<a class="mui-tab-item mui-active" href="/integral/">
				<span class="mui-icon iconfont icon-icon18"></span><br>
				<span class="mui-tab-label">积分兑换</span>
			</a>
			<a class="mui-tab-item" href="/v/center">
				<span class="mui-icon iconfont icon-gerenzhongxin"></span><br>
				<span class="mui-tab-label">个人中心</span>
			</a>
		</nav>
		<div class="mui-content">
			<div class="all_contains">
				<table>
					<tr>
						<th style="border-left: 0;">姓名</th>
						<th>类型</th>
						<th>金额/万</th>
						<th>时间</th>
						<th>是否通过</th>
						<!--<th>积分</th>-->
					</tr>
					#foreach($item in $data)
					<tr onclick="because($item.id)">
						<td style="border-left: 0;">$!item.name</td>
						<td>$!item.product</td>
						<td>$!item.money</td>
						<td>$!date.format('yyyy-MM-dd',$!item.addTime)</td>
						#if($item.isOk == 0)
						<td>提交成功</td>
						#elseif($item.isOk == 1)
						<td>是</td>
						#elseif($item.isOk == 2)
						<td>否</td>
						#end
					</tr>
					#end
				</table>
				<!--<div class="daochu">-->
					<!--<span style="color: #006699;font-size: 12px;">每月一号审核上个月业绩</span>-->
					<!--<a style="float: right;">-->
						<!--<span style="font-size: 18px;" class="mui-icon mui-icon-upload"></span>-->
						<!--<span style="font-size: 14px;">导出excel</span>-->
					<!--</a>-->
				<!--</div>-->
			</div>
		</div>
	</body>
	<script>
		mui.init();
		nav_tab();

		function because(id) {
			location.href = "/business/info/"+id;
        }
	</script>
</html>
